package com.firemoss.magicbus.messaging
{
	import mx.messaging.Consumer;
	
	public interface IConsumerMediator extends IMessageAgentMediator
	{
		
		function get messageEvent() : String
		
		function get consumer() : Consumer
		function set consumer( value : Consumer ) : void
		
		/**
		 * Allows framework-specific mediators to set up subscriptions to their
		 * front controller for event names that should initiate a connection to 
		 * the consumer.
		 */
		function subscribeToConnectionRequests( eventNames : Array ) : void
		
	}
}